#-*- coding = utf-8 -*-
#@Time: 2020/4/12 15:56
#@Author: mx
#@File: loupan_to_db.py
#@Software: IntelliJ IDEA
from db.xiaoqu_to_db import *
import importlib,sys

if __name__ == "__main__":
    importlib.reload(sys)
    city_name = sys.argv[1]
    spider = XiaoQuToMysql(SPIDER_NAME)
    spider.xiaoqu_data_to_db(city_name)